/*
 *  CRoleCreate.h
 *  Cocos2dAction
 *
 *  Created by Hunk on 10-6-28.
 *  Copyright 2010 __MyCompanyName__. All rights reserved.
 *
 */

#import "Role.h"
#import <string>
#import <map>

using namespace std;
class CRoleCreate
{
protected:
	static CRoleCreate* __self;
	
	CRoleCreate();

	map<int ,string> __NameStore;
	
	map<int,Role*>__RoleStore;
	
public:
	static CRoleCreate* Instance();
	
	~CRoleCreate();
	
	Role * CreateOneRole(const char* pName);
	

};
